//
//  WBStatusToolBar.swift
//  simpleWeibo
//
//  Created by sunmumu on 2018/10/16.
//  Copyright © 2018年 孙林. All rights reserved.
//

import UIKit

class WBStatusToolBar: UIView {
    
    var viewModel: WBStatusViewModel? {
        didSet {
            retweetedButton.setTitle(viewModel?.retweetedString, for: .normal)
            commendButton.setTitle(viewModel?.commendString, for: .normal)
            likeButton.setTitle(viewModel?.likeString, for: .normal)
        }
    }

    /// 转发
    @IBOutlet weak var retweetedButton: UIButton!
    /// 评论
    @IBOutlet weak var commendButton: UIButton!
    /// 点赞
    @IBOutlet weak var likeButton: UIButton!

}
